Neighbor

class Neighbor : GeneratedMessage, MeshProtos.NeighborOrBuilder

A single edge in the mesh
Protobuf type meshtastic.Neighbor

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , MeshProtos.NeighborOrBuilder

A single edge in the mesh
Protobuf type meshtastic.Neighbor

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getLastRxTime(): Int

Reception time (in secs since 1970) of last message that was last sent by this ID.
Note: this is for local storage only and will not be sent out over the mesh.
fixed32 last_rx_time = 3;
Link copied to clipboard

Broadcast interval of this neighbor (in seconds).
Note: this is for local storage only and will not be sent out over the mesh.
uint32 node_broadcast_interval_secs = 4;
Link copied to clipboard
open fun getNodeId(): Int

Node ID of neighbor
uint32 node_id = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSnr(): Float

SNR of last heard message
float snr = 2;
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
Link copied to clipboard
open fun parseFrom(data: ByteString): MeshProtos.Neighbor
open fun parseFrom(input: CodedInputStream): MeshProtos.Neighbor
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MeshProtos.Neighbor
Link copied to clipboard
open fun parser(): Parser<MeshProtos.Neighbor>
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)